package com.mmall.concurerency;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@Slf4j
public class TestController {
    @RequestMapping("/test")
    @ResponseBody
    public  String test(@RequestParam(name = "data")String  data){
        System.out.println(data);
      return "123";
    }
}
